Search Results
Unix & Linux: sed: delete all lines before matching one, including this one (6 Solutions!!)
Unix & Linux: Deleting a range of n lines before and after a matched line in sed? (2 Solutions!!)
Unix & Linux: Delete n lines after pattern and m lines before pattern (2 Solutions!!)
Unix & Linux: Delete all lines except first occurrence
Unix & Linux: Delete range of lines above pattern with sed (or awk) (5 Solutions!!)
Unix & Linux: Remove commented lines except one comment using sed
Unix & Linux: Remove line containing certain string and the following line (5 Solutions!!)
Unix & Linux: How do I delete the first n lines and last line of a file using shell commands?
Unix & Linux: delete lines matching pattern if it is repeated (3 Solutions!!)
Unix & Linux: How to remove empty lines from begin and end of file? (6 Solutions!!)
Delete lines with matching pattern after the first line with sed (5 Solutions!!)
Unix & Linux: How to strip multiple spaces to one using sed? (6 Solutions!!)